﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Handrise.Mobile.BasicModal.DataLayer;

namespace Handrise.CDCable.Mobile.Business
{
    /// <summary>
    /// 指挥信息
    /// </summary>
    [Serializable]
    [EntityMapping(TableName = "Communication")]
    public class Communication
    {
        [EntityMapping(IsKey = true, ColumnName = "CommunicationID")]
        public string CommunicationID { get; set; }

        /// <summary>
        /// 发送者
        /// </summary>
        [EntityMapping(ColumnName = "Sender")]
        public string Sender { get; set; }

        /// <summary>
        /// 接收者
        /// </summary>
        [EntityMapping(ColumnName = "Receiver")]
        public string Receiver { get; set; }

        /// <summary>
        /// 发送者ID
        /// </summary>
        [EntityMapping(ColumnName = "SenderID")]
        public string SenderID { get; set; }

        /// <summary>
        /// 接收者ID
        /// </summary>
        [EntityMapping(ColumnName = "ReceiverID")]
        public string ReceiverID { get; set; }

        /// <summary>
        /// 方向
        /// </summary>
        [EntityMapping(ColumnName = "Direction")]
        public string Direction { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        [EntityMapping(ColumnName = "Content")]
        public string Content { get; set; }

        /// <summary>
        /// 记录时间
        /// </summary>
        [EntityMapping(ColumnName = "RecordDateTime")]
        public DateTime? RecordDateTime { get; set; }

        /// <summary>
        /// 上报状态
        /// </summary>
        [EntityMapping(ColumnName = "ReportState")]
        public string ReportState { get; set; }
    }
}
